package com.ysh.service.impl;

import com.ysh.domain.City;
import com.ysh.mapper.CityMapper;
import com.ysh.service.CityService;
import com.ysh.utils.MapperUtils;

import java.util.List;

public class CityServiceImpl implements CityService {
    private CityMapper cityMapper = (CityMapper) MapperUtils.getMapper(CityMapper.class);

    @Override
    public List<City> findAll() {
        return cityMapper.findAll();
    }
}
